import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  ...App
})

//引入uview-ui
import uView from "uview-ui"
Vue.use(uView)

// 引入请求封装，将app参数传递到配置中
require('./services/request.js')(app)


// 挂载自定义封装服务 来去验证页面是否有登录
import auth from '@/services/auth.js'
//挂载接口
Vue.use(auth, app)

// import route from '@/services/route.js'
// //挂载接口
// Vue.use(route, app)


import notice from '@/services/notice.js'


//挂载接口
Vue.use(notice, app)

import emplog from '@/services/log.js'


//挂载接口
Vue.use(emplog, app)



//API接口
import api from '@/api'
Vue.use(api, app)



app.$mount()